import { ComponentCustomProperties } from 'vue'

import { Store } from 'vuex'

// import { State } from "./store"

declare module '@vue/runtime-core' {
    interface State {
        username: string
    }
    // 为`this.$store`提供类型声明
    interface ComponentCustomProperties {
        $store: Store<State>
    }
}
